StaticText Class

Displays text that is not editable by the user.

Events

AcceleratorKey

MouseDown

MouseDrag

MouseUp


Properties

Bold

Text

Caption

TextAlign

DataField

TextColor

DataSource

TextFont

Italic

TextSize

Multiline

Underline


Methods

None

More information available in parent classes: RectControl:Control:Object

Because this is a RectControl, see the RectControl for other properties and events that are common to all RectControl objects.


Notes

You can define an Accelerator key for a StaticText. In the Text property, precede the accelerator character with an ampersand. For example, the entry "&Home" signifies that the H is the accelerator. Pressing Alt+H on Windows triggers the AcceleratorKey event.


See Also

RectControl class; EditField control.